﻿using System.Collections.Generic;
using Northwind.Data;
using System.ServiceModel;

namespace Northwind.Service
{
    [ServiceContract]
    public interface INorthwindRepository
    {
        [OperationContract]
        IEnumerable<Customer> GetAllCustomersNameAndID();
        
        [OperationContract]
        IEnumerable<Order> GetOrders(string customerID);
        
        [OperationContract]
        IEnumerable<Order_Detail> GetOrderDetails(int orderID);
        
        [OperationContract]
        Customer GetCustomerByID(string customerID);
       
        [OperationContract]
        IEnumerable<Product> GetProducts();
        
        [OperationContract]
        IEnumerable<Employee> GetEmployees();
        
        [OperationContract]
        void SaveChanges();
    }
}